home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 November: Tool Chest / Dev.CD Nov 96 TC / Dev.CD Nov 96 TC.toast / Sample Code / Development Tools & Languages / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_190_a11C < prev    next >
Unknown  |  1994-09-22  |  2.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
100% TrID TTComp archive compressed (bin-2K) default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 23 00 00 00 00 00 00 | 00 23 61 31 31 43 00 00 |.#......|.#a11C..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 09 43 43 49 63 6f | 6e 4e 65 77 00 00 06 00 |...CCIco|nNew....|
|00000060| 00 00 00 00 e8 00 00 00 | 00 00 00 00 e8 00 00 00 |........|........|
|00000070| 14 03 c1 00 28 05 7e 00 | ff 00 00 00 00 00 00 0f |....(.~.|........|
|00000080| a8 00 00 00 00 4e 1c 00 | 00 00 09 00 00 00 04 00 |.....N..|........|
|00000090| 04 ff fc ff fa 00 04 00 | 04 ff fc ff fc 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 83 00 0b | 40 10 6b 53 63 72 65 65 |........|@.kScree|
|000000b0| 6e 41 50 49 2f 31 39 39 | 39 36 00 06 47 65 6e 65 |nAPI/199|96..Gene|
|000000c0| 76 61 00 00 8e 43 6f 6e | 74 72 6f 6c 48 61 6e 64 |va...Con|trolHand|
|000000d0| 6c 65 20 43 43 49 63 6f | 6e 4e 65 77 28 57 69 6e |le CCIco|nNew(Win|
|000000e0| 64 6f 77 50 74 72 20 77 | 69 6e 64 6f 77 2c 20 52 |dowPtr w|indow, R|
|000000f0| 65 63 74 20 2a 72 2c 20 | 53 74 72 69 6e 67 50 74 |ect *r, |StringPt|
|00000100| 72 20 74 69 74 6c 65 2c | 20 42 6f 6f 6c 65 61 6e |r title,| Boolean|
|00000110| 20 76 69 73 2c 20 73 68 | 6f 72 74 20 76 61 6c 2c | vis, sh|ort val,|
|00000120| 20 73 68 6f 72 74 20 6d | 69 6e 2c 20 73 68 6f 72 | short m|in, shor|
|00000130| 74 20 6d 61 78 2c 20 73 | 68 6f 72 74 20 76 69 65 |t max, s|hort vie|
|00000140| 77 49 44 2c 20 73 68 6f | 72 74 20 72 65 66 63 6f |wID, sho|rt refco|
|00000150| 6e 29 3b 00 00 00 06 00 | 00 00 00 00 7a 00 00 00 |n);.....|....z...|
|00000160| 00 00 00 00 7a 00 00 00 | 00 03 c1 00 14 05 7e 00 |....z...|......~.|
|00000170| ff 00 00 00 00 00 00 0f | a8 00 00 00 00 4e 1d 00 |........|.....N..|
|00000180| 00 00 09 00 00 00 04 00 | 04 ff fc ff fa 00 04 00 |........|........|
|00000190| 04 ff fc ff fc 00 00 00 | 00 00 00 00 00 83 00 0b |........|........|
|000001a0| 40 14 6b 53 63 72 65 65 | 6e 4f 6e 65 4c 69 6e 65 |@.kScree|nOneLine|
|000001b0| 2f 31 39 39 39 37 00 06 | 47 65 6e 65 76 61 00 00 |/19997..|Geneva..|
|000001c0| 1c 43 72 65 61 74 65 20 | 61 20 6e 65 77 20 27 63 |.Create |a new 'c|
|000001d0| 69 63 6e 27 20 63 6f 6e | 74 72 6f 6c 2e 00 00 00 |icn' con|trol....|
|000001e0| 06 00 00 00 00 00 44 00 | 00 00 00 00 00 00 44 00 |......D.|......D.|
|000001f0| 00 00 00 02 6b 04 40 02 | 6c 01 00 00 00 00 00 00 |....k.@.|l.......|
|00000200| 01 0f f1 00 00 00 00 00 | 00 00 00 00 0c 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 06 00 00 00 | 00 00 6b 00 00 00 00 00 |........|..k.....|
|00000240| 00 00 6b 00 00 00 00 02 | 6b 02 28 03 c1 00 ff 00 |..k.....|k.(.....|
|00000250| 00 00 00 00 00 0f a8 00 | 00 00 00 4e 16 00 00 00 |........|...N....|
|00000260| 09 00 00 00 04 00 04 ff | fc ff fa 00 04 00 04 ff |........|........|
|00000270| fc ff fc 00 00 00 00 00 | 00 00 00 83 00 0b 40 0b |........|......@.|
|00000280| 6c 69 6e 6b 73 2f 31 39 | 39 39 30 00 06 4d 6f 6e |links/19|990..Mon|
|00000290| 61 63 6f 00 00 00 00 16 | 00 01 00 00 00 00 00 10 |aco.....|........|
|000002a0| 00 0c 00 01 00 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|000002b0| 00 00 00 00 06 13 00 00 | 00 00 00 00 06 13 00 00 |........|........|
|000002c0| 00 00 00 00 75 30 02 6b | 01 ff 00 00 00 00 00 00 |....u0.k|........|
|000002d0| 0f a8 00 00 00 00 4e 1f | 00 00 00 09 00 00 00 04 |......N.|........|
|000002e0| 00 04 ff fc ff fa 00 04 | 00 04 ff fc ff fc 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 83 00 | 0b 40 0a 62 6f 64 79 2f |........|.@.body/|
|00000300| 31 39 39 39 39 00 06 4d | 6f 6e 61 63 6f 00 05 a9 |19999..M|onaco...|
|00000310| 43 6f 6e 74 72 6f 6c 48 | 61 6e 64 6c 65 20 43 43 |ControlH|andle CC|
|00000320| 49 63 6f 6e 4e 65 77 28 | 57 69 6e 64 6f 77 50 74 |IconNew(|WindowPt|
|00000330| 72 20 77 69 6e 64 6f 77 | 2c 20 52 65 63 74 20 2a |r window|, Rect *|
|00000340| 72 2c 20 53 74 72 69 6e | 67 50 74 72 20 74 69 74 |r, Strin|gPtr tit|
|00000350| 6c 65 2c 20 42 6f 6f 6c | 65 61 6e 20 76 69 73 2c |le, Bool|ean vis,|
|00000360| 20 73 68 6f 72 74 20 76 | 61 6c 2c 20 73 68 6f 72 | short v|al, shor|
|00000370| 74 20 6d 69 6e 2c 20 73 | 68 6f 72 74 20 6d 61 78 |t min, s|hort max|
|00000380| 2c 20 73 68 6f 72 74 20 | 76 69 65 77 49 44 2c 20 |, short |viewID, |
|00000390| 73 68 6f 72 74 20 72 65 | 66 63 6f 6e 29 3b 0d 0d |short re|fcon);..|
|000003a0| 20 20 20 20 46 69 6c 65 | 3a 20 43 49 63 6f 6e 43 | File|: CIconC|
|000003b0| 6f 6e 74 72 6f 6c 2e 68 | 0d 0d 49 4e 50 55 54 3a |ontrol.h|..INPUT:|
|000003c0| 20 20 77 69 6e 64 6f 77 | 20 20 20 20 20 20 20 20 | window| |
|000003d0| 20 20 54 68 65 20 77 69 | 6e 64 6f 77 20 74 6f 20 | The wi|ndow to |
|000003e0| 61 64 64 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 20 |add the |control |
|000003f0| 74 6f 0d 20 20 20 20 20 | 20 20 20 72 20 20 20 20 |to. | r |
|00000400| 20 20 20 20 20 20 20 20 | 20 20 20 54 68 65 20 62 | | The b|
|00000410| 6f 75 6e 64 69 6e 67 20 | 72 65 63 74 20 6f 66 20 |ounding |rect of |
|00000420| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 20 62 65 69 6e |the cont|rol bein|
|00000430| 67 20 61 64 64 65 64 0d | 20 20 20 20 20 20 20 20 |g added.| |
|00000440| 74 69 74 6c 65 20 20 20 | 20 20 20 20 20 20 20 20 |title | |
|00000450| 54 68 65 20 74 69 74 6c | 65 20 6f 66 20 74 68 65 |The titl|e of the|
|00000460| 20 63 6f 6e 74 72 6f 6c | 20 62 65 69 6e 67 20 61 | control| being a|
|00000470| 64 64 65 64 20 28 64 6f | 6e 27 74 20 70 61 73 73 |dded (do|n't pass|
|00000480| 20 69 6e 20 6e 69 6c 20 | 68 65 72 65 29 0d 20 20 | in nil |here). |
|00000490| 20 20 20 20 20 20 76 69 | 73 20 20 20 20 20 20 20 | vi|s |
|000004a0| 20 20 20 20 20 20 54 72 | 75 65 20 69 66 20 63 6f | Tr|ue if co|
|000004b0| 6e 74 72 6f 6c 20 73 68 | 6f 75 6c 64 20 62 65 20 |ntrol sh|ould be |
|000004c0| 63 72 65 61 74 65 64 20 | 69 6e 69 74 69 61 6c 6c |created |initiall|
|000004d0| 79 20 76 69 73 69 62 6c | 65 0d 20 20 20 20 20 20 |y visibl|e. |
|000004e0| 20 20 76 61 6c 20 20 20 | 20 20 20 20 20 20 20 20 | val | |
|000004f0| 20 20 49 6e 69 74 69 61 | 6c 20 76 61 6c 75 65 20 | Initia|l value |
|00000500| 66 6f 72 20 74 68 65 20 | 63 6f 6e 74 72 6c 56 61 |for the |contrlVa|
|00000510| 6c 75 65 20 66 69 65 6c | 64 20 6f 66 20 74 68 65 |lue fiel|d of the|
|00000520| 20 63 6f 6e 74 72 6f 6c | 0d 20 20 20 20 20 20 20 | control|. |
|00000530| 20 76 61 6c 20 20 20 20 | 20 20 20 20 20 20 20 20 | val | |
|00000540| 20 49 6e 69 74 69 61 6c | 20 76 61 6c 75 65 20 66 | Initial| value f|
|00000550| 6f 72 20 74 68 65 20 63 | 6f 6e 74 72 6c 4d 69 6e |or the c|ontrlMin|
|00000560| 20 66 69 65 6c 64 20 6f | 66 20 74 68 65 20 63 6f | field o|f the co|
|00000570| 6e 74 72 6f 6c 0d 20 20 | 20 20 20 20 20 20 76 61 |ntrol. | va|
|00000580| 6c 20 20 20 20 20 20 20 | 20 20 20 20 20 20 49 6e |l | In|
|00000590| 69 74 69 61 6c 20 76 61 | 6c 75 65 20 66 6f 72 20 |itial va|lue for |
|000005a0| 74 68 65 20 63 6f 6e 74 | 72 6c 4d 61 78 20 66 69 |the cont|rlMax fi|
|000005b0| 65 6c 64 20 6f 66 20 74 | 68 65 20 63 6f 6e 74 72 |eld of t|he contr|
|000005c0| 6f 6c 0d 20 20 20 20 20 | 20 20 20 76 69 65 77 49 |ol. | viewI|
|000005d0| 44 20 20 20 20 20 20 20 | 20 20 20 4e 6f 72 6d 61 |D | Norma|
|000005e0| 6c 6c 79 20 72 43 49 63 | 6f 6e 43 74 6c 2c 20 61 |lly rCIc|onCtl, a|
|000005f0| 73 20 74 68 61 74 20 69 | 73 20 74 68 65 20 73 74 |s that i|s the st|
|00000600| 61 6e 64 61 72 64 20 41 | 70 70 73 54 6f 47 6f 0d |andard A|ppsToGo.|
|00000610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000620| 20 20 20 20 20 20 20 20 | 72 65 73 6f 75 72 63 65 | |resource|
|00000630| 20 49 44 20 66 6f 72 20 | 74 68 69 73 20 63 6f 6e | ID for |this con|
|00000640| 74 72 6f 6c 2c 20 62 75 | 74 20 79 6f 75 20 6d 61 |trol, bu|t you ma|
|00000650| 79 20 77 69 73 68 20 74 | 6f 20 68 61 76 65 0d 20 |y wish t|o have. |
|00000660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000670| 20 20 20 20 20 20 20 74 | 68 65 20 43 44 45 46 20 | t|he CDEF |
|00000680| 68 61 76 65 20 61 20 64 | 69 66 66 65 72 65 6e 74 |have a d|ifferent|
|00000690| 20 72 65 73 6f 75 72 63 | 65 20 69 64 20 23 2e 0d | resourc|e id #..|
|000006a0| 20 20 20 20 20 20 20 20 | 72 65 66 63 6f 6e 20 20 | |refcon |
|000006b0| 20 20 20 20 20 20 20 20 | 49 6e 69 74 69 61 6c 20 | |Initial |
|000006c0| 76 61 6c 75 65 20 66 6f | 72 20 74 68 65 20 63 6f |value fo|r the co|
|000006d0| 6e 74 72 6c 52 66 43 6f | 6e 20 66 69 65 6c 64 20 |ntrlRfCo|n field |
|000006e0| 6f 66 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 0d 52 |of the c|ontrol.R|
|000006f0| 45 53 55 4c 54 3a 20 43 | 6f 6e 74 72 6f 6c 48 61 |ESULT: C|ontrolHa|
|00000700| 6e 64 6c 65 20 20 20 54 | 68 65 20 63 6f 6e 74 72 |ndle T|he contr|
|00000710| 6f 6c 20 68 61 6e 64 6c | 65 20 6f 66 20 74 68 65 |ol handl|e of the|
|00000720| 20 63 72 65 61 74 65 64 | 20 63 6f 6e 74 72 6f 6c | created| control|
|00000730| 2c 20 6f 72 20 6e 69 6c | 20 69 66 0d 20 20 20 20 |, or nil| if. |
|00000740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000750| 20 20 20 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 20 | the |control |
|00000760| 63 6f 75 6c 64 20 6e 6f | 74 20 62 65 20 63 72 65 |could no|t be cre|
|00000770| 61 74 65 64 2e 0d 0d 43 | 72 65 61 74 65 20 61 20 |ated...C|reate a |
|00000780| 6e 65 77 20 43 49 63 6f | 6e 20 63 6f 6e 74 72 6f |new CIco|n contro|
|00000790| 6c 2e 20 20 41 6c 6c 20 | 74 68 65 20 70 61 72 61 |l. All |the para|
|000007a0| 6d 65 74 65 72 73 20 61 | 72 65 20 77 68 61 74 20 |meters a|re what |
|000007b0| 79 6f 75 20 77 6f 75 6c | 64 20 65 78 70 65 63 74 |you woul|d expect|
|000007c0| 20 66 6f 72 20 63 72 65 | 61 74 69 6e 67 0d 61 20 | for cre|ating.a |
|000007d0| 6e 65 77 20 63 6f 6e 74 | 72 6f 6c 2e 0d 20 20 20 |new cont|rol.. |
|000007e0| 20 20 20 20 20 56 61 72 | 69 61 6e 74 73 3a 0d 20 | Var|iants:. |
|000007f0| 20 20 20 20 20 20 20 20 | 20 20 20 2b 31 3a 20 53 | | +1: S|
|00000800| 74 69 63 6b 79 20 62 75 | 74 74 6f 6e 73 2e 20 20 |ticky bu|ttons. |
|00000810| 28 43 61 6e 27 74 20 62 | 65 20 74 72 61 63 6b 65 |(Can't b|e tracke|
|00000820| 64 20 6f 66 66 20 6f 66 | 20 6f 6e 63 65 20 63 6c |d off of| once cl|
|00000830| 69 63 6b 65 64 20 6f 6e | 2e 29 0d 20 20 20 20 20 |icked on|.). |
|00000840| 20 20 20 20 20 20 20 2b | 32 3a 20 44 72 61 77 20 | +|2: Draw |
|00000850| 6f 66 66 73 63 72 65 65 | 6e 2e 20 20 54 68 69 73 |offscree|n. This|
|00000860| 20 69 73 20 69 6d 70 6f | 72 74 61 6e 74 20 69 66 | is impo|rtant if|
|00000870| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 20 68 61 73 | the con|trol has|
|00000880| 20 61 20 74 69 74 6c 65 | 20 61 6e 64 0d 20 20 20 | a title| and. |
|00000890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 79 6f 75 | | you|
|000008a0| 20 64 6f 6e 27 74 20 77 | 61 6e 74 20 66 6c 61 73 | don't w|ant flas|
|000008b0| 68 69 6e 67 2e 20 0d 0d | 0d 00 16 00 01 00 00 00 |hing. ..|........|
|000008c0| 00 00 0b 00 09 00 04 00 | 00 00 09 00 00 00 00 00 |........|........|
|000008d0| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+